package yhp.bean;

//存放用户信息及点赞状态,类名=表名，列名=属性名
public class User {
    private String userName;
    private String userPassword;
    private int praiseStatus;//1代表已经点赞，0代表未点赞

    public User() {
    }

    public User(String userName, String userPassword, int praiseStatus) {
        this.userName = userName;
        this.userPassword = userPassword;
        this.praiseStatus = praiseStatus;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    public int getPraiseStatus() {
        return praiseStatus;
    }

    public void setPraiseStatus(int praiseStatus) {
        this.praiseStatus = praiseStatus;
    }
}

